home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene Storm
/
Scene Storm - Volume 1.iso
/
coding
/
c
/
vbcc
/
machines
/
amiga68k
/
libsrc
/
stdio
/
puts.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-07-10
|
242 b
|
10 lines
#include <stdio.h>
int puts(const char *s)
/* s.o. was muss hier zurueckgegeben werden? */
{
if(fputs(s,stdout)==EOF) return(EOF);
if(putc('\n',stdout)==EOF) return(EOF);
if(fflush(stdout)==EOF) return(EOF); else return(1);
}